package com.hr.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hr.entity.SalaryStandardDetails;
import com.hr.mapper.SalaryStandardDetailsMapper;
import com.hr.service.SalaryStandardDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SalaryStandardDetailsServiceImpl implements SalaryStandardDetailsService {
    @Autowired
    private SalaryStandardDetailsMapper salaryStandardDetailsMapper;

    @Override
    public List<SalaryStandardDetails> queryList() {
        QueryWrapper<SalaryStandardDetails> queryWrapper = new QueryWrapper<SalaryStandardDetails>();
        List<SalaryStandardDetails> list = salaryStandardDetailsMapper.selectList(queryWrapper);
        return list;
    }
}
